body
{
	width: 910px;
	height: 700px;
	background-color: lightgray;
	border: 1px solid black;
	margin: 30px auto;
	font-family: verdana, sans-serif;
	font-size: 12px;
	position:relative;
}

div>nav
{
	float:left;
	margin-top:15px;
	margin-left:2px;
}

a
{
	color: darkred;
}

a:hover
{
	color:red;
}

nav a
{
	text-decoration: none;
}

li>a
{
	color: black;
}

li>a:hover
{
	color: black;
	text-decoration:underline;
	font-weight:bold;
}

li:first-child
{
	font-weight:bold;
}

li
{
	color:darkred;
}

ul
{
	margin-top:18px;
}

nav div img
{
	width: 23px;
	height:19px;
}

nav div a
{
	color: black;
	font-weight:bold;
	font-size:13px;
}

body>div>div
{
	width:600px;
	background-color:white;
	border:1px solid black;
	margin: 2px 146px;
	padding: 5px 4px 35px 4px;
}

h1
{
	font-size:20px;
	font-weight:bold;
	line-height: 55px;
}

button
{
	width: 110px;
	height:22px;
	border:1px solid black;
	background-color:white;
}

button a
{
	display:inline-block;
	color:black;
	width:110px;
	height:22px;
	font-size:12px;
	margin-top:2px;
}

button:first-child a:before
{
	content:"";
	display:inline-block;
	width:0;
	height:0;
	border-right:5px solid black;
	border-top:5px solid transparent;
	border-bottom:5px solid transparent;
	float:left;
	margin-left:3px;
	margin-top:3px;
}

button:last-child a:before
{
	content:"";
	display:inline-block;
	width:0;
	height:0;
	border-left:5px solid black;
	border-top:5px solid transparent;
	border-bottom:5px solid transparent;
	float:right;
	margin-right:4px;
	margin-top:3px;
}

header:after, footer:after, footer:before
{
	content:"";
	display:block;
	width: 600px;
	border-bottom: 2px solid gray;
	margin-top: 5px;
	margin-bottom:5px;
}

h2, h3
{
	color: white;
	background-color:gray;
	font-weight:bold;
	padding:1px 0 1px 4px;
}

article
{
	margin-bottom:20px;
}

h2+p
{
	margin-top: 15px;
	margin-bottom:15px;
}

article:first-child 
{
	margin-bottom: 50px;
}

article:first-child img
{
	width: 100px;
	height: 100px;
	float:left;
	margin: 10px 20px 10px 0;
}

article:first-child p
{
	font-weight:bold;
	margin-bottom:15px;
	margin-right: 10px;
}

article:first-child p:first-line
{
	line-height:40px;
}
aside
{
	width:150px;
	height:auto;
	text-align:center;
	position:absolute;
	top:2px;
	left:758px;
}

aside>div
{
	border:1px solid black;
	background-color:white;
	margin-bottom:2px;
}

aside div div
{
	margin:4px 8px 4px 8px;
}

aside div div p
{
	background-color: lightblue;
	width: 100px;
	height:30px;
	margin-left: 14px;
	line-height: 28px;
	border:1px solid blue;
	border-radius:2px;
	box-shadow: inset 0 0 1px 1px lightblue, inset 0 -1px 10px 0 blue;
	color: blue;
	font-weight:bold;
}

aside div div a
{
	display: block;
}

input[type="text"]
{
	width: 80px;
}

input[type="submit"]
{
	width:25px;
	height:20px;
}

